import request from '@/utils/request'

// 查询辅导员课题申请列表
export function topicList(query) {
  return request({
    url: '/clr/topic/list',
    method: 'get',
    params: query
  })
}
// 申请课题
export function applyTopic(query) {
  return request({
    url: '/clr/topic/applyTopic',
    method: 'post',
    data: query
  })
}
// 修改辅导员课题
export function topicUpdata(query) {
  return request({
    url: '/clr/topic',
    method: 'put',
    data: query
  })
}
// 获取辅导员课题申请详细信息


export function getTopic(query) {
  return request({
    url: '/clr/topic/' + query,
    method: 'get',
  })
}
// 删除辅导员课题

export function topicDel(query) {
  return request({
    url: '/clr/topic/' + query,
    method: 'delete',
  })
}
